package com.gator.desig_mode.dicorator;


/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @desc 具体的装饰品
 */
public class Chocolate extends Decorator {

  public Chocolate(Drink drink) {
    super(drink);
    setDesc("巧克力调味品");
    setPrice(2.00f);
  }
}

class Milk extends Decorator{

  public Milk(Drink drink) {
    super(drink);
    setDesc("牛奶调味品");
    setPrice(3.50f);
  }
}


class Soy extends Decorator{

  public Soy(Drink drink) {
    super(drink);
    setDesc("酱油调味品");
    setPrice(1.50f);
  }
}